<?PHP

	include("../../includes/configAjax.php");
	
	$outcome = $users->login($db, $_POST['uname'], $_POST['pword']);
	
	if($outcome=="activate"){
		echo $outcome;
	} else {
		if($outcome=="ok"){
			echo $outcome;
		} else {
			echo "Incorrect username and/or password";	
		}
	}
?>